import App from './App'
//挂载Devtools
import devTools from "./devTools/index.js";
import devToolsConfig from './devTools/config.js';
Vue.use(devTools, devToolsConfig)

//注册小程序端专用的拖动浮标组件
import mpDevBubble from './devTools/core/components/mpDevBubble.vue'
Vue.component("mpDevBubble", mpDevBubble)

// #ifndef VUE3
import Vue from 'vue'
import uView from "uview-ui";
import util from '@/utils'
Vue.use(uView);
Vue.prototype.picUrl = 'https://nx.categl.com/profile/upload/images/';
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
	...App
})
app.$mount()
// #endif

// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
export function createApp() {
	const app = createSSRApp(App)
	app.use(util)
	return {
		app
	}
}
// #endif